package com.uxwine.alarm.main;

import android.content.Context;
import android.content.res.Resources;

import com.uxwine.alarm.R;
import com.uxwine.alarm.R.array;
import com.uxwine.alarm.R.drawable;
import com.uxwine.view.t.DialViewAdapter;

public class CycleDVAdpater extends DialViewAdapter {
	
	private String[] mData;
	
	public CycleDVAdpater(Context ctx) {

		Resources r = ctx.getResources();
		mData = r.getStringArray(R.array.alerm_cycle);
		setButtonId(R.drawable.time_dial_cycle);
	}

	@Override
	public int getCount() {
		return mData.length;
	}

	@Override
	public String getMarkerText(int position) {
		return mData[position];
	}

	@Override
	public long getValue(int position) {
		return position;
	}

}
